Skip to content

Allow to map null#191

Merged
thomasp85 merged 1 commit intoposit-dev:mainfrom
thomasp85:issue145-null-mapping
Mar 12, 2026
Merged

Allow to map null#191
thomasp85 merged 1 commit intoposit-dev:mainfrom
thomasp85:issue145-null-mapping

Conversation

@thomasp85
Copy link
Collaborator

Fix #145

This PR adds the option of mapping null to an aesthetic to turn of global inheritance for that aesthetic

@thomasp85 thomasp85 requested a review from teunbrand March 12, 2026 07:34
Copy link
Collaborator

@teunbrand teunbrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my own understanding, this treats null-aesthetics as typical aesthetics and only after global aesthetics are merged into layer aesthetics, the null-aesthetics are removed, right? IIRC there are some match arms where ParameterValue::null is considered unreachable, does that remain the case?

@thomasp85
Copy link
Collaborator Author

this does not really touch ParameterValue

@thomasp85 thomasp85 merged commit 1388952 into posit-dev:main Mar 12, 2026
1 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mapping to literal null should turn off the mapping (i.e. suppress a global mapping)

2 participants